]> git.r.bdr.sh - rbdr/captura/blame - Captura/Core Extensions/Notification+AppEvents.swift
Format the code
[rbdr/captura] / Captura / Core Extensions / Notification+AppEvents.swift
CommitLineData
5802c153
RBR
1/*
2 Copyright (C) 2024 Rubén Beltrán del Río
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see https://captura.tranquil.systems.
16 */
24220348
RBR
17import Foundation
18
19extension Notification.Name {
20 static let startAreaSelection = Notification.Name("startSelectingArea")
21 static let startRecording = Notification.Name("startRecording")
22 static let stopRecording = Notification.Name("stopRecording")
23 static let finalizeRecording = Notification.Name("finalizeRecording")
24 static let reset = Notification.Name("reset")
c9b9e1d6
RBR
25 static let failedToStart = Notification.Name("failedToStart")
26 static let receivedFrame = Notification.Name("receivedFrame")
533cd932 27 static let failedtoUpload = Notification.Name("failedToUpload")
377442f2
RBR
28 static let reloadConfiguration = Notification.Name("reloadConfiguration")
29 static let setCaptureSessionConfiguration = Notification.Name("setCaptureSessionConfiguration")
e42019cd 30 static let setConfiguration = Notification.Name("setConfiguration")
24220348 31}